package cn.iocoder.yudao.module.eval.controller.admin.monitoring.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 督导记录分页查询 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
public class EvalSupervisionRecordPageReqVO extends PageParam {

    @Schema(description = "计划ID", example = "1")
    private Long planId;

    @Schema(description = "督导员ID", example = "1")
    private Long supervisorId;

    @Schema(description = "检查类型", example = "现场督导")
    private String checkType;

    @Schema(description = "检查状态", example = "2")
    private Integer checkStatus;

    @Schema(description = "是否已提交报告", example = "true")
    private Boolean reportSubmitted;

    @Schema(description = "检查开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] checkStartTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
